#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <gst/gst.h>
#include "gst_enesim_sink.h"

GST_DEBUG_CATEGORY (enesim_sink_debug);

static gboolean
plugin_init (GstPlugin * plugin)
{
  /* first register the debug categories */
  GST_DEBUG_CATEGORY_INIT (enesim_sink_debug, "enesim_sink", 0, "Enesim sink");

  /* now register the elements */
  if (!gst_element_register (plugin, "enesim_sink",
          GST_RANK_MARGINAL, GST_TYPE_ENESIM_SINK))
    return FALSE;
  return TRUE;
}

/* this is the structure that gstreamer looks for to register plugins
 */
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR,
    "enesim", "Enesim GStreamer Plugin",
    plugin_init, VERSION, GST_LICENSE_UNKNOWN, PACKAGE_NAME,
    "http://www.turran.org");

